<%--
/*
- * @description: 登录页样式表
- * @author: huangchuting
- * @update: huangchuting (2021/1/6 19:46)
- */--%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<link rel="stylesheet" href="/static/css/publish.css">
<html>
<head>
    <title>校园租赁-发布新物品</title>
</head>

<body>
    <c:import url="../public/head.jsp"></c:import>
    <script>
        shop.innerHTML = '<span>·&#12288;发布新商品</span>'
    </script>
    <div class="divWarp">
        <div class="publishWarp">
            <form class="publishForm" method="post" enctype="multipart/form-data" action="/Item/addItem">
                <table>
                    <tr>
                        <td><span>商品名称：</span></td>
                        <td><input type="text" name="item_name"></td>
                    </tr>
                    <tr>
                        <td><span>商品类型：</span></td>
                        <td>
                            <select name="type">
                                <option value="图书教材" selected="selected">图书教材</option>
                                <option value="美妆衣物">美妆衣物</option>
                                <option value="数码电器">数码电器</option>
                                <option value="快递跑腿">快递跑腿</option>
                                <option value="生活用品">生活用品</option>
                                <option value="票卷小物">票卷小物</option>
                            </select>
                        </td>
                    </tr>
                    <tr>
                        <td><span>商品价格：</span></td>
                        <td><input type="text" name="price"></td>
                    </tr>
                    <tr>
                        <td><span>商品介绍：</span></td>
                        <td>
                            <textarea name="introduction"></textarea>
                        </td>
                    </tr>
                    <tr>
                        <td><span>商品图片：</span></td>
                        <td><input type="file" name="imageFile"></td>
                    </tr>
                    <tr>
                        <td></td>
                        <td>
                            <input type="submit" name="publishBut" class="publishBut" value="发布商品信息">
                        </td>
                    </tr>
                </table>

            </form>
        </div>
    </div>

</body>
</html>